<template>
  <div>
    <div class="login">
      <img src="../assets/images/登录页11.jpg" alt="" width="100%" />
      <button @click="gologinPage">登陆</button>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods:{
      gologinPage(){
          this.$router.push('/loginPage')
      }
  }
};
</script>
 
<style lang = "less" scoped>
.login {
  width: 100%;
  position: relative;
  button {
    width: 40%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: skyblue;
    color: #fff;
    border: 0;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    bottom: 30px;
    left:50%;
    margin-left: -20%;
  }
}
</style>